<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags"%>
<%@ taglib prefix="fn"  uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ page import="kr.co.insoft.framework.config.Authorities" %>
<c:set var="CONTEXT">${pageContext.request.contextPath}</c:set>
<c:set var="cssUrl">${pageContext.request.contextPath}/resources/css</c:set>
<c:set var="jsUrl">${pageContext.request.contextPath}/resources/js</c:set>
 
<form:form modelAttribute="fileEntityModel" role="form" cssClass="form-horizontal">
	<input type="hidden" name="${_csrf.parameterName}" value="${_csrf.token}"/>
	<div class="form-group">
		<label class="col-sm-2 control-label">Version</label>
		<div class="col-sm-10">
			<p class="form-control-static">${fileEntityModel.fileVer }</p>
		</div>
	</div>
	<div class="form-group">
		<label class="col-sm-2 control-label">Svn Using</label>
		<div class="col-sm-10">
			<input type="checkbox">svn을 통해 binary upload를 하실 경우 체크하여 주세요
		</div>
	</div>
	<div class="form-group">
		<label class="col-sm-2 control-label">Release Version</label>
		<div class="col-sm-10">
			<input id="applicationName" class="form-control"/>
		</div>
	</div>
	<div class="form-group">
		<label class="col-sm-2 control-label">Binary Version</label>
		<div class="col-sm-10">
			<input id="applicationName" class="form-control"/>
		</div>
	</div>
	<div class="form-group">
		<label class="col-sm-2 control-label">Application File</label>
		<div class="col-sm-10">
			<button type="button" class="btn btn-default btnCreate" data-types="event" >파일선택</button>
		</div>
	</div>
	<!--  하단 버튼 -->
	<div class="form-group">
		<div class="col-sm-12 text-right">
			<button class="btn btn-default btn_link" data-link="./lists" type="button"><spring:message code="button.cancel"/></button>
			<c:if test="${fn:contains(buttons , Authorities.REMOVE)}">
				<button class="btn btn-primary btnDeleteApp" type="button"><spring:message code="button.add"/></button>
			</c:if>
		</div>
	</div>
	
</form:form>